<ng-container *ngIf="!isembeddedView">
<ion-header class="app-view-header">
    <ion-toolbar class="app-view-toolbar" color="primary">
        <ion-buttons slot="start">
            <ion-button  (click)="backView()"  >
                <ion-icon name="arrow-back"></ion-icon>
                返回
            </ion-button>
        </ion-buttons>
        <ion-searchbar (ionChange)="onQuickSearchValueChange($event)" showCancelButton cancelButtonText="取消" debounce="500" animated placeholder="搜索" mode="ios" clearIcon="close-circle"></ion-searchbar>
        <ion-buttons  slot="end"  >
        <div class="app-mob-toolbar ">
        <div >
                <ion-button class="app-view-toolbar-button" (click)="righttoolbar_click({ tag: 'tbitem1' }, $event)">
                 <ion-icon name="fa fa-file-text-o" ></ion-icon>
                  新建
            </ion-button>
        
        </div>
        </div>
        </ion-buttons>
    </ion-toolbar>
</ion-header>

<ion-content  class="app-view app-view-mobmdview  dfmob-mdview">
<div class="app-view-body">
        <ctrl-mob-mobmdctrl [viewState]="viewState"    [isembeddedView]="isembeddedView"  [isModalMode]="isModalMode"    [updateAction]="'update'"  [removeAction]="'remove'"  [loadAction]="'get'"  [createAction]="'create'"    [searchAction]="'searchdefault'"  [name]="'mdctrl'"   (loademit)="mdctrl_load($event)"   (clickemit)="mdctrl_click($event)" ></ctrl-mob-mobmdctrl>
</div>
</ion-content>
</ng-container>
<ng-container *ngIf="isembeddedView">
        <div class="app-view app-embedded-mobmdview  dfmob-mdview">
                <ng-container *ngIf="!isTabexp">
                <div class="app-view-embedded">
                <div>电费</div>
                <div  class="app-view-embedded-icon"><ion-icon name="more" (click)="click_more()"></ion-icon></div>
                </div>
                </ng-container>
                <div class="app-view-body">
                <ctrl-mob-mobmdctrl [viewState]="viewState"    [isembeddedView]="isembeddedView"  [isModalMode]="isModalMode"    [searchAction]="'searchdefault'"  [name]="'mdctrl'"   (loademit)="mdctrl_load($event)"   (clickemit)="mdctrl_click($event)" ></ctrl-mob-mobmdctrl>
                </div>
        </div>
</ng-container>

